package com.ruoyi.project.cms.notice.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 *com.ruoyi.project.cms.notice.domain
 *作者：lh
 描述:
 *时间:2020-05-19
 */
public class NoticeType extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @Excel(name = "公告类型id", cellType = Excel.ColumnType.NUMERIC)
    private int tid;
    @Excel(name = "公告类型名称")
    private String tname;
    @Excel(name = "公告类型说明")
    private String tdesc;

    public int getTid() {
        return tid;
    }

    public void setTid(int tid) {
        this.tid = tid;
    }

    public String getTname() {
        return tname;
    }

    public void setTname(String tname) {
        this.tname = tname;
    }

    public String getTdesc() {
        return tdesc;
    }

    public void setTdesc(String tdesc) {
        this.tdesc = tdesc;
    }

    public NoticeType() {
    }

    public NoticeType(int tid, String tname, String tdesc) {
        this.tid = tid;
        this.tname = tname;
        this.tdesc = tdesc;
    }

    @Override
    public String toString() {
        return "CmsNoticeType{" +
                "tid=" + tid +
                ", tname='" + tname + '\'' +
                ", tdesc='" + tdesc + '\'' +
                '}';
    }
}